package com.pjl.restartlife.login.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pjl.restartlife.login.vo.SysUser;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author jiao
* @description 针对表【sys_user(用户表)】的数据库操作Mapper
* @createDate 2024-04-03 16:50:38
* @Entity login.vo.SysUser
*/
@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {
    public SysUser getByIdSysUser(@Param("id") String id);
    public SysUser getByUserNameSysUser(@Param("userName") String userName);
    public  List<SysUser> getALLSysUser();
    public Integer insertSysUser(@Param("sysUser") SysUser sysUser);
    SysUser getSysUserByPhone(@Param("phone") String phone);

}




